import type { Goods } from '@/types/goods'
import { http } from '@/utils/https'

export const getGoodsAPI = (id: string) => {
  return http<Goods>({
    url: '/goods',
    data: {
      id,
    },
  })
}
